/**
 * role/menu
 * =======================================
 * list
 * edit
 * remove
 * view
 */

import request from '@/utils/request'

// list
export function list(data) {
  return request({
    url: '/api/uni/role/menu/list',
    method: 'post',
    data
  })
}

// edit
export function edit(data) {
  return request({
    url: '/api/uni/role/menu/edit',
    method: 'post',
    data
  })
}

// remove
export function remove(data) {
  return request({
    url: '/api/uni/role/menu/remove',
    method: 'post',
    data
  })
}

// view
export function view(data) {
  return request({
    url: '/api/uni/role/menu/view',
    method: 'post',
    data
  })
}

